import cv2

image = cv2.imread('./img/scenery.png')

if image is not None:
    print(f'蓝色值：{image[10, 10, 0]}')
    print(f'绿色值：{image[10, 10, 1]}')
    print(f'红色值：{image[10, 10, 2]}')
else:
    print('读取图片失败！')
